package cn.tedu.system.live.mapper;

import cn.tedu.system.live.pojo.entity.LiveRoom;
import cn.tedu.system.live.pojo.vo.LiveRoomVO;

import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LiveMapper {
    int insert(LiveRoom liveRoom);

    List<LiveRoomVO> selectAll();

    LiveRoomVO selectById(Long id);

    int stopLive(Long id);
}
